/*global module*/

import React,{ Suspense } from 'react';
import {hot,setConfig} from 'react-hot-loader';
import {HashRouter} from 'react-router-dom';
import Root from './pages/router';
import store from './redux/config'
import { Provider } from 'react-redux';
import '&static/styles/styles.css';
import '&static/styles/index.less';


function App() {
  return(
    <Provider store={store}>
        <HashRouter>
          <Root />
        </HashRouter>
    </Provider>
  )
}

setConfig({showReactDomPatchNotification: false})
export default hot(module)(App)